﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TimKiemSach.aspx.cs" Inherits="WebsiteBanSachOnline.TimKiemSach" MasterPageFile="~/Home.Master"%>


<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link href="css/home.css" rel="stylesheet" type="text/css" />
    <style type="text/css">

.options 
{
	height:30px;
	display:block;
	list-style:one outside none;
	white-space:nowrap;
    }
.option
{
	float:left;
	display:block;
    margin:0px 3px;
	padding-bottom:10px;
	overflow:auto;
	height:30px;
	vertical-align:middle;
    }
        .style10
        {
            width: 100%;
        }
        .style11
        {
            width: 99px;
        }
        .style12
        {
            width: 20px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div id="left_panel">
        <p class="header_text">
            This is header text</p>
        <asp:BulletedList ID="bllVerticalMenu" runat="server" CssClass="vertical_menu" DisplayMode="HyperLink"
            BulletStyle="CustomImage" EnableTheming="True" Width="212px">
            <asp:ListItem>fsadfsdf</asp:ListItem>
        </asp:BulletedList>
    </div>
    <div id="right_panel" runat="server">   
        <asp:DataList ID="DataList1" runat="server" CellPadding="10" CellSpacing="5" 
            RepeatColumns="3" RepeatDirection="Horizontal">
            <ItemTemplate>
                <table cellpadding="0" cellspacing="0" class="style10">
                    <tr>
                        <td align="center" colspan="3">
                            <asp:HyperLink ID="BookTitle" runat="server" 
                                NavigateUrl='<%# Eval("MaSach","ChiTietSach.aspx?MaSach={0}") %>' 
                                Text='<%# Eval("TenSach") %>'></asp:HyperLink>
                        </td>
                    </tr>
                    <tr>
                        <td align="center" colspan="3">
                            <asp:Image ID="Image1" runat="server" Height="244px" 
                                ImageUrl='<%# Eval("HinhAnh") %>' Width="195px" />
                        </td>
                    </tr>
                    <tr>
                        <td align="center" colspan="3">
                            <asp:Label ID="BookCost" runat="server" Text='<%# Eval("GiaBan") %>'></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td align="right" class="style11">
                            <asp:HyperLink ID="Details" runat="server" 
                                NavigateUrl='<%# Eval("MaSach","ChiTietSach.aspx?MaSach={0}") %>'>Xem Chi Tiết</asp:HyperLink>
                        </td>
                        <td align="center" class="style12">
                            |</td>
                        <td align="left">
                            <asp:HyperLink ID="AddToCart" runat="server" 
                                NavigateUrl='<%# Eval("MaSach","ChiTietSach.aspx?Action=Add&MaSach={0}") %>'>Thêm vào Giỏ</asp:HyperLink>
                        </td>
                    </tr>
                </table>
            </ItemTemplate>
            <SelectedItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
        </asp:DataList>
&nbsp;&nbsp;&nbsp;   
    </div>
</asp:Content>
